<?php
class Application_Model_Db_Details extends Zend_Db_Table_Abstract
{
	protected $_name = "details";
	protected $_primary = "idDetail";
	protected $_dependentTables = array('Application_Model_Db_Products','Application_Model_Db_Stock');

	protected $_referenceMap = array
	(
		array(
            'refTableClass' => 'Application_Model_Db_Products',
            'refColumns' => 'idProduct',
            'columns' => 'idProduct'
		),
		array(
            'refTableClass' => 'Application_Model_Db_Stock',
            'refColumns' => 'idDetail',
            'columns' => 'idDetail'
		)
	);
}

